package com.huayue.entity;

/**
 * 角色
 * 
 */
public class Role {
    private int id;
    private int parentid;
    private String dep_id;
    private String name;
    private String remark;
    private String deps[];

    public Role() {}

    public Role(int parentid, String name, String remark, String dep_id) {
        this.parentid = parentid;
        this.name = name;
        this.remark = remark;
        this.dep_id = dep_id;
    }

    public Role(int id, int parentid, String name, String remark, String dep_id) {
        this.id = id;
        this.parentid = parentid;
        this.name = name;
        this.remark = remark;
        this.dep_id = dep_id;
    }

    public Role(int id) {
        this.id = id;
    }

    public String[] getDeps() {
        return deps;
    }

    public void setDeps(String[] deps) {
        this.deps = deps;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public String getDep_id() {
        return dep_id;
    }

    public void setDep_id(String dep_id) {
        this.dep_id = dep_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Role{" + "id=" + id + ", parentid=" + parentid + ", dep_id='" + dep_id + '\'' + ", name='" + name + '\''
            + ", remark='" + remark + '\'' + '}';
    }
}
